home *** CD-ROM | disk | FTP | other *** search
- name comvec
- include pmacros.h
-
- ; combios - call INT14 routine (COMBIOS, MBBIOS, FOSSIL)
- ; called from C as follows
- ; unsigned int combios(ax,dx)
- ; unsigned int ax; /* ax value for call */
- ; unsigned int dx; /* dx value for call */
- ; returns the returned ax value
-
- procdef combios,<<axval,word>,<dxval,word>>
- mov ax,axval
- mov dx,dxval
- mov bx,ax ; avoid trouble with FOSSIL function 04h
- int 14h ; perform INT14 function
- pret
- pend combios
-
- end
-